package com.itheima.domain;

public class ResultInfo {
    private final boolean success;
    private final String message;
    private final Object obj;

    public ResultInfo(boolean success, String message, Object obj) {
        this.success = success;
        this.message = message;
        this.obj = obj;
    }

    public boolean isSuccess() {
        return success;
    }

    public String getMessage() {
        return message;
    }

    public Object getObj() {
        return obj;
    }
}
